﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MvcShop.Models.ViewDataModels
{
    public class IntList
    {
        public string Text { get; set; }
        public string Value { get; set; }
    }

    public class StringList
    {
        public string Text { get; set; }
        public string Value { get; set; }
    }

    public class ProductList
    {
        public int ProductId { get; set; }
        public int CategoryId { get; set; }
        public string ProductName { get; set; }
    }

    public class FProductList
    {
        public int ProductId { get; set; }
        public int CategoryId { get; set; }
        public string ProductName { get; set; }
        public string ImageAddress { get; set; }
        public decimal? MarkePrice { get; set; }
        public decimal? SellPrice { get; set; }
        public int? Stock { get; set; }
        public int Remark { get; set; }
    }

    public class ProductOrder
    {
        public string Value { get; set; }
        public string Data { get; set; }
    }

    public class NewsList
    {
        public int NewsId { get; set; }
        public string Title { get; set; }
        public bool? HighLight { get; set; }
        public DateTime DateTime { get; set; }
    }

    public class HelpList
    {
        public int HelperId { get; set; }
        public string HelperName { get; set; }
    }

    public class DHelpList
    {
        public int HelperId { get; set; }
        public string HelperName { get; set; }
        public int CategoryId { get; set; }
        public string CategoryName { get; set; }
    }

    public class AdList
    {
        public int AdsId { get; set; }
        public string Mark { get; set; }
        public bool IsUsed { get; set; }
        public DateTime AddDate { get; set; }
        public DateTime EndDate { get; set; }
    }

    public class Rows
    {
        public int id { get; set; }
        public object[] cell { get; set; }
    }
}
